package cn.ppwx.crm.common;

public class Constants {

	//有效
	public final static int VALID = 1;
	//无效
	public final static int INVALID = 0;

	//0-侍支付
	public final static int ORDER_STATUS_0 = 0;
	//1-支付成功
	public final static int ORDER_STATUS_1 = 1;
	//2-取消
	public final static int ORDER_STATUS_2 = 2;

	//任务号的前缀
	public final static String TASK_NO_PREFIX="TASK";

	//订单号的前缀
	public final static String ORDER_NO_PREFIX="ORDER";

	//redis序列号
	public final static String REDIS_ORDER_SEQ="order:seq";

	//0-未中选
	public final static short TASK_JOIN_STATUS_0 = 0;
	//1-中选
	public final static short TASK_JOIN_STATUS_1 = 1;
	//-1-取消
	public final static short TASK_JOIN_STATUS_CANCEL = -1;

	//信用变更类型
	public final static String CREDIT_TYPE_NOCHOOSE = "NOCHOOSE";

	public final static Long CREDIT_SCORE_1 = 1L;
	public final static Long CREDIT_SCORE_2 = 2L;
	public final static Long CREDIT_SCORE_5 = 5L;
	public final static Long CREDIT_SCORE_10 = 10L;
	public final static Long CREDIT_SCORE_15 = 15L;

	//账户变更的交易类型
	public final static short CASHLOG_TRADETYPE_WITHDRAW = 1; //提现
	public final static short CASHLOG_TRADETYPE_EARN = 2; //赚钱
	public final static short CASHLOG_TRADETYPE_PAY = 3; //支付

	//消息推送类型
	public final static String MSG_TYPE_SYSMSG = "SYSMSG"; //系统消息
	public final static String MSG_TYPE_TASKMSG = "TASKMSG"; //任务单消息

}
